<template>
    <div class="tabbar">
        <router-link class="btn" to="/home">
            <img src="https://dummyimage.com/20x20/ff0" alt="">
            <div>首页</div>
        </router-link>
        <router-link class="btn" to="/home">
            <img src="https://dummyimage.com/20x20/f0f" alt="">
            <div>订单</div>
        </router-link>
        <router-link class="btn" to="/my">
            <img src="https://dummyimage.com/20x20/0ff" alt="">
            <div>我的</div>
        </router-link>
    </div>
</template>

<script>

export default {
    data(){
        return {

        }
    }
}
</script>
<style scoped>
    .tabbar{
        border-top: 1px solid #f0f0f0;
        background-color: white;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px;
    }
    .tabbar .btn{
        text-decoration: none;
        color: #333;
        text-align: center;
    }
</style>